package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.NoteDao;
import com.bootdo.sell.domain.NoteDO;
import com.bootdo.sell.service.NoteService;



@Service
public class NoteServiceImpl implements NoteService {
	@Autowired
	private NoteDao noteDao;
	
	@Override
	public NoteDO get(Integer id){
		return noteDao.get(id);
	}
	
	@Override
	public List<NoteDO> list(Map<String, Object> map){
		return noteDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return noteDao.count(map);
	}
	
	@Override
	public int save(NoteDO note){
		return noteDao.save(note);
	}
	
	@Override
	public int update(NoteDO note){
		return noteDao.update(note);
	}
	
	@Override
	public int remove(Integer id){
		return noteDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return noteDao.batchRemove(ids);
	}
	
}
